/**  
 * All rights Reserved, Designed By Android_Robot   
 * @Title:  RepairItemBean.java   
 * @Package com.jiyi.bean.maintenance   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: HYM     
 * @date:   2017-10-31 下午2:35:27   
 * @version V1.0     
 */
package com.jiyi.bean.maintenance;

import com.jiyi.bean.BaseBean;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: RepairItemBean
 * @Description:TODO(这里用一句话描述这个类的作用)
 * @author: HYM
 * @date: 2017-10-31 下午2:35:27
 * 
 */
public class RepairItemBean extends BaseBean {

	//设备项
	private String bad_name;
	//二级设备
	private String equipment_name;
	private String place;
	//一级设备
	private String inspection_name;
	private String record;
	private String content;
	private String bdid;
	private String goods_id;
	private String bh_code;
	private String pro_name;
	private String pro_type;
	private String pro_date;
	private String pro_safe_date;
	private String product;
	private String price;
	private String goodsplace;
	private String amount;
	private int auditor_status;
	private int payer;
	private int flag;
	private int is_check;
	private int parentPosition;
	private int childPosition;
	private int equip_status;
	
	private String oldRecord;
	private int oldEquipStatu;
	private String oldPrice;
	private String oldAmount;
	private int oldPayer;
	private int oldCheckStatu;
	private boolean isShowMore = false;
	private boolean isSetAdapter = false;
	
	private List<RepairFirstEquip> first;
	private List<RepairSecondEquip> second;
	private List<RepairEquipItem> equipItem;
	
	public void setBad_name(String bad_name) {
		this.bad_name = bad_name;
	}

	public String getBad_name() {
		return this.bad_name;
	}

	public void setEquipment_name(String equipment_name) {
		this.equipment_name = equipment_name;
	}

	public String getEquipment_name() {
		return this.equipment_name;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getPlace() {
		return this.place;
	}

	public void setInspection_name(String inspection_name) {
		this.inspection_name = inspection_name;
	}

	public String getInspection_name() {
		return this.inspection_name;
	}

	public void setRecord(String record) {
		this.record = record;
	}

	public String getRecord() {
		return this.record;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return this.content;
	}

	public void setBdid(String bdid) {
		this.bdid = bdid;
	}

	public String getBdid() {
		return this.bdid;
	}

	public void setGoods_id(String goods_id) {
		this.goods_id = goods_id;
	}

	public String getGoods_id() {
		return this.goods_id;
	}

	public void setBh_code(String bh_code) {
		this.bh_code = bh_code;
	}

	public String getBh_code() {
		return this.bh_code;
	}

	public void setPro_name(String pro_name) {
		this.pro_name = pro_name;
	}

	public String getPro_name() {
		return this.pro_name;
	}

	public void setPro_type(String pro_type) {
		this.pro_type = pro_type;
	}

	public String getPro_type() {
		return this.pro_type;
	}

	public void setPro_date(String pro_date) {
		this.pro_date = pro_date;
	}

	public String getPro_date() {
		return this.pro_date;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	public String getProduct() {
		return this.product;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPrice() {
		return this.price;
	}

	public void setGoodsplace(String goodsplace) {
		this.goodsplace = goodsplace;
	}

	public String getGoodsplace() {
		return this.goodsplace;
	}

	public int getAuditor_status() {
		return auditor_status;
	}

	public void setAuditor_status(int auditor_status) {
		this.auditor_status = auditor_status;
	}

	public int getPayer() {
		return payer;
	}

	public void setPayer(int payer) {
		this.payer = payer;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getIs_check() {
		return is_check;
	}

	public void setIs_check(int is_check) {
		this.is_check = is_check;
	}

	public int getParentPosition() {
		return parentPosition;
	}

	public void setParentPosition(int parentPosition) {
		this.parentPosition = parentPosition;
	}

	public int getChildPosition() {
		return childPosition;
	}

	public void setChildPosition(int childPosition) {
		this.childPosition = childPosition;
	}

	public List<RepairFirstEquip> getFirst() {
		if (first == null) {
			first = new ArrayList<RepairFirstEquip>();
			RepairFirstEquip head = new RepairFirstEquip();
			head.setId("");
			head.setName("请选择");
			first.add(head);
//			RepairFirstEquip head1 = new RepairFirstEquip();
//			head1.setId("");
//			head1.setName("火灾报警");
//			first.add(head1);
//			RepairFirstEquip head2 = new RepairFirstEquip();
//			head2.setId("");
//			head2.setName("消防报警");
//			first.add(head2);
		}
		return first;
	}

	public void setFirst(List<RepairFirstEquip> first) {
		this.first = first;
	}

	public List<RepairSecondEquip> getSecond() {
		if (second == null) {
			second = new ArrayList<RepairSecondEquip>();
			RepairSecondEquip head = new RepairSecondEquip();
			head.setTask_equip_id("");
			head.setName("请选择");
			second.add(head);
//			RepairSecondEquip head1 = new RepairSecondEquip();
//			head1.setTask_equip_id("");
//			head1.setName("火灾报警器");
//			second.add(head1);
//			RepairSecondEquip head2 = new RepairSecondEquip();
//			head2.setTask_equip_id("");
//			head2.setName("火灾灭火器");
//			second.add(head2);
		}
		return second;
	}

	public void setSecond(List<RepairSecondEquip> second) {
		this.second = second;
	}

	public List<RepairEquipItem> getEquipItem() {
		if (equipItem == null) {
			equipItem = new ArrayList<RepairEquipItem>();
		}
		return equipItem;
	}

	public void setEquipItem(List<RepairEquipItem> equipItem) {
		this.equipItem = equipItem;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getPro_safe_date() {
		return pro_safe_date;
	}

	public void setPro_safe_date(String pro_safe_date) {
		this.pro_safe_date = pro_safe_date;
	}

	public int getEquip_status() {
		return equip_status;
	}

	public void setEquip_status(int equip_status) {
		this.equip_status = equip_status;
	}

	public String getOldRecord() {
		return oldRecord;
	}

	public void setOldRecord(String oldRecord) {
		this.oldRecord = oldRecord;
	}

	public int getOldEquipStatu() {
		return oldEquipStatu;
	}

	public void setOldEquipStatu(int oldEquipStatu) {
		this.oldEquipStatu = oldEquipStatu;
	}

	public String getOldPrice() {
		return oldPrice;
	}

	public void setOldPrice(String oldPrice) {
		this.oldPrice = oldPrice;
	}

	public String getOldAmount() {
		return oldAmount;
	}

	public void setOldAmount(String oldAmount) {
		this.oldAmount = oldAmount;
	}

	public int getOldPayer() {
		return oldPayer;
	}

	public void setOldPayer(int oldPayer) {
		this.oldPayer = oldPayer;
	}

	public int getOldCheckStatu() {
		return oldCheckStatu;
	}

	public void setOldCheckStatu(int oldCheckStatu) {
		this.oldCheckStatu = oldCheckStatu;
	}

	public boolean isShowMore() {
		return isShowMore;
	}

	public void setShowMore(boolean isShowMore) {
		this.isShowMore = isShowMore;
	}

	public boolean isSetAdapter() {
		return isSetAdapter;
	}

	public void setSetAdapter(boolean isSetAdapter) {
		this.isSetAdapter = isSetAdapter;
	}

	
}
